package com.indra.archetypeweb.dto;

import java.util.Date;

import com.indra.archetypeweb.utils.constants.ProductType;

public class ProductDTO {
	
	private String name;
	
	private String description;
	
	private Long id;
	
	private Date dateAdded;
	
	private Date dateDeleted;
	
	private float price;
	
	private ProductType productType;
	
	private CDDTO cd;
	
	private BookDTO book;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public Date getDateAdded() {
		return dateAdded;
	}

	public void setDateAdded(Date dateAdded) {
		this.dateAdded = dateAdded;
	}

	public Date getDateDeleted() {
		return dateDeleted;
	}

	public void setDateDeleted(Date dateDeleted) {
		this.dateDeleted = dateDeleted;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public ProductType getProductType() {
		return productType;
	}

	public void setProductType(ProductType productType) {
		this.productType = productType;
	}

	public CDDTO getCd() {
		return cd;
	}

	public void setCd(CDDTO cd) {
		this.cd = cd;
	}

	public BookDTO getBook() {
		return book;
	}

	public void setBook(BookDTO book) {
		this.book = book;
	}

}
